package com.bosssoft.hr.train.dbms.example.service.impl;

import com.bosssoft.hr.train.dbms.example.dao.UserDao;
import com.bosssoft.hr.train.dbms.example.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUserRole(int userNum,int roleNum) {
        this.userDao.addUserRole(userNum,roleNum);
    }
}
